﻿/*
==================================================================
    注意：此文件为Auto代码，不可手动修改【消息】
==================================================================
*/

namespace Entities
{
    /// <summary>
    /// 消息
    /// </summary>
    [SugarTable("rec.Message")]
    public partial class Message
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "MessageID")]
        public int MessageID { get; set; }
        
        /// <summary>
        /// 类型
        /// </summary>
        [SugarColumn(ColumnName = "Type")]
        public int Type { get; set; }
        
        /// <summary>
        /// 标题
        /// </summary>
        [SugarColumn(ColumnName = "Title")]
        public string Title { get; set; }
        
        /// <summary>
        /// 接收用户
        /// </summary>
        [SugarColumn(ColumnName = "ReceiveUserID")]
        public int ReceiveUserID { get; set; }
        
        /// <summary>
        /// 数据
        /// </summary>
        [SugarColumn(ColumnName = "Data")]
        public string Data { get; set; }
        
        /// <summary>
        /// 状态
        /// </summary>
        [SugarColumn(ColumnName = "Status")]
        public int Status { get; set; }
        
        /// <summary>
        /// 创建日期
        /// </summary>
        [SugarColumn(ColumnName = "CreateDate")]
        public DateTime CreateDate { get; set; }
    }
}
